.register-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;

  .register-container {
    width: 100%;
    max-width: 450px;

    .register-card {
      border-radius: 16px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
      backdrop-filter: blur(10px);
      background: rgba(255, 255, 255, 0.95);

      .register-header {
        text-align: center;
        margin-bottom: 32px;

        h2 {
          font-size: 28px;
          font-weight: 700;
          color: #333;
          margin-bottom: 8px;
        }

        p {
          color: #666;
          font-size: 14px;
        }
      }

      .ant-form-item {
        margin-bottom: 20px;

        .ant-input,
        .ant-input-password,
        .ant-select-selector {
          height: 48px;
          border-radius: 8px;
          border: 1px solid #e8e8e8;
          transition: all 0.3s;

          &:hover,
          &:focus {
            border-color: #1890ff;
            box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1);
          }

          .ant-input-prefix {
            color: #999;
            margin-right: 8px;
          }
        }

        .ant-select {
          width: 100%;
        }
      }

      .agreement {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-size: 14px;
        color: #666;

        input[type="checkbox"] {
          margin-top: 2px;
          width: 16px;
          height: 16px;
        }

        label {
          cursor: pointer;
          line-height: 1.5;

          a {
            color: #1890ff;
            text-decoration: none;

            &:hover {
              text-decoration: underline;
            }
          }
        }
      }

      .register-button {
        height: 48px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
        border: none;
        margin-top: 8px;

        &:hover {
          background: linear-gradient(135deg, #40a9ff 0%, #1890ff 100%);
          transform: translateY(-1px);
          box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
        }
      }

      .login-link {
        text-align: center;
        color: #666;
        font-size: 14px;

        a {
          color: #1890ff;
          font-weight: 600;

          &:hover {
            text-decoration: underline;
          }
        }
      }
    }
  }
}

// 响应式设计
@media (max-width: 480px) {
  .register-page {
    padding: 16px;

    .register-container {
      .register-card {
        .register-header {
          h2 {
            font-size: 24px;
          }
        }
      }
    }
  }
} 